package com.proxy.study.impl;

import com.proxy.study.proxyinterface.Star;

public class Chen implements Star {

    private String name;
    public Chen(String name) {
        this.name = name;
    }
    @Override
    public void sing(String name) {
        System.out.println(this.name+"开始唱"+name);
    }

    @Override
    public String dancing() {
        System.out.println(this.name+"感谢大家！");
        return "谢谢！谢谢！";
    }
}
